//
//  ZTLCCameraUtil.h
//  YSSmartHome
//
//  Created by yanghao on 2016/9/28.
//  Copyright © 2016年 yahaong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DataManager.h"
#import "openApiService.h"
#import "LCOpenSDK_Api.h"
#import "RestApiService.h"
#import "ZTLCCamera.h"
typedef void(^CompletionBlock)(id returnValue);
typedef void(^FailureBlock)(NSString *errMsg);
@interface ZTLCCameraUtil : NSObject

+ (void)fetchToken:(NSString *)phone CompletionBlock:(CompletionBlock)successBlock WithFailureBlock:(FailureBlock)failureBlock;
+ (LCOpenSDK_Api * )loadhc:(NSString *)token;
+ (void)onLive:(ZTLCCamera *)lcCamera controller:(UIViewController *)controller;
+ (BOOL)unbundling:(NSString *)serial;
@end
